package com.sudo.boot.mapper.sys.model.bo;

import com.sudo.boot.core.validenum.FxwPassword;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class SysUserBoPassword {
    /**
     * 用户ID
     */
    @NotNull(message = "用户ID不能为空")
    private Integer id;

    /**
     * 新密码
     */
    @FxwPassword
    private String newPassword;

    /**
     * 确认密码
     */
    @NotBlank(message = "确认密码不能为空")
    private String confirmPassword;

}
